import axios from './http'
import {base} from './api'
import qs from 'qs'

const INDEX = {
  GETLIST: (params: any): any =>
    axios.get(`${base.PRO}5cd29a46f0ea91506302e6d5/koaVant/index`, { params }),
  REGISTER: (params: any): any =>
    axios.post(`${base.LOCAL}/user/register`, qs.stringify(params))
};
export default INDEX